import { _decorator, animation, Animation, AnimationClip, Component, Node, Sprite, SpriteFrame, UITransform } from 'cc';
import { IEntity } from '../../Levels';
import { EntityManager } from '../../Base/EntityManager';
import { SmokeStateManchine } from './SmokeStateManchine';
const { ccclass, property } = _decorator;


@ccclass('SmokeManager')
export class SmokeManager extends EntityManager {

    async init(params: IEntity) {
        this.fsm = this.addComponent(SmokeStateManchine);
        await this.fsm.init();
        super.init(params);
        super.update();

    }



}


